package com.ysd.entity;

public class Recommend {
      private Integer id;
      private String position;
      private Integer productId;
      
      private Product product;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public Integer getProductId() {
		return productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public Recommend(Integer id, String position, Integer productId, Product product) {
		super();
		this.id = id;
		this.position = position;
		this.productId = productId;
		this.product = product;
	}

	public Recommend() {
		super();
	}

	@Override
	public String toString() {
		return "Recommend [id=" + id + ", position=" + position + ", productId=" + productId + ", product=" + product
				+ "]";
	}
	
      
}
